<template>
  <view>
    <u-navbar title="下载" @rightClick="rightClick" leftIconSize="40rpx" rightText="编辑" :autoBack="true"></u-navbar>



    <view class="btnBox" v-if="btnBox">
      <view class="btn" style="border-right: 2rpx solid #E7E7E7">全选</view>
      <view class="btn">删除</view>
    </view>
  </view>
</template>
<script>
export default {
  name: "download",
  data(){
    return {
      btnBox: false
    }
  },
  methods: {
    rightClick() {
      console.log(111)
      this.btnBox = !this.btnBox
    }
  },
  onLoad() {

  },
  onShow() {

  },
}
</script>


<style scoped lang="scss">
  .btnBox{
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80rpx;
    color: #000000;
    display: flex;
    border-top: 2rpx solid #E7E7E7;

    .btn{
      flex: 1;
      display: flex;
      justify-content: center;
      align-items: center;
    }
  }
</style>
